package com.yueke.gemini.repository;

import com.yueke.gemini.model.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * created by admin 2020/3/7 19:21
 */
@Repository
public interface UserRepository extends JpaRepository<User,String>, JpaSpecificationExecutor<User> {

    User findByUsername(String username);

    public User findById(String userId);



}
